Dynomotion

Group: DynoMotion Message: 4280 From: bradodarb Date: 3/21/2012
Subject: streaming c programs
Hello Tom,


What would be involved with adding some methods to compile c programs in memory and upload them to the kflop.


I am working on a small framework to create function blocks that generate c code and would like to bypass the file IO latency.


Thoughts?

-Brad Murry
Group: DynoMotion Message: 4281 From: Tom Kerekes Date: 3/21/2012
Subject: Re: streaming c programs
Hi Brad,
 
Could you be more specific on what issue you are trying to address?  I don't think the file IO is significant.
 
Regards
TK

Group: DynoMotion Message: 4282 From: Brad Murry Date: 3/21/2012
Subject: Re: streaming c programs

Hello Tom,

 

 

   It may not be an issue(IO latency), I am just trying to ‘stream’line the process of uploading c code to the controller.

 

I want to be able to upload and execute many different programs at will and not have to worry about when/where files are being written if possible.

 

It would be great if I could load some programs as strings and just compile/pump them into a thread.  Even better would be to precompile programs into a collection and just dump/execute as quickly as possible.

 

After having a look at COFF.cpp and CLOAD.cpp it seems that it would be a lot of work separating the file logic from the buffer ….. bummer.

 

-Brad

 

From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes
Sent: Wednesday, March 21, 2012 12:01 PM
To: DynoMotion@yahoogroups.com
Subject: Re: [DynoMotion] streaming c programs

 

 

Hi Brad,

 

Could you be more specific on what issue you are trying to address?  I don't think the file IO is significant.

 

Regards

TK

 

From: bradodarb <bradodarb@...>
To: DynoMotion@yahoogroups.com
Sent: Wednesday, March 21, 2012 11:47 AM
Subject: [DynoMotion] streaming c programs

 

 

Hello Tom,

What would be involved with adding some methods to compile c programs in memory and upload them to the kflop.

I am working on a small framework to create function blocks that generate c code and would like to bypass the file IO latency.

Thoughts?

-Brad Murry

 

Group: DynoMotion Message: 4283 From: himykabibble Date: 3/21/2012
Subject: Re: streaming c programs
Brad,

RAMDisk?

Regards,
Ray L.

--- In DynoMotion@yahoogroups.com, Brad Murry <bradodarb@...> wrote:
>
> Hello Tom,
>
>
>
>
>
> It may not be an issue(IO latency), I am just trying to ‘stream’line the process of uploading c code to the controller.
>
>
>
> I want to be able to upload and execute many different programs at will and not have to worry about when/where files are being written if possible.
>
>
>
> It would be great if I could load some programs as strings and just compile/pump them into a thread. Even better would be to precompile programs into a collection and just dump/execute as quickly as possible.
>
>
>
> After having a look at COFF.cpp and CLOAD.cpp it seems that it would be a lot of work separating the file logic from the buffer ….. bummer.
>
>
>
> -Brad
>
>
>
> From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes
> Sent: Wednesday, March 21, 2012 12:01 PM
> To: DynoMotion@yahoogroups.com
> Subject: Re: [DynoMotion] streaming c programs
>
>
>
>
>
> Hi Brad,
>
>
>
> Could you be more specific on what issue you are trying to address? I don't think the file IO is significant.
>
>
>
> Regards
>
> TK
>
>
>
> From: bradodarb <bradodarb@...>
> To: DynoMotion@yahoogroups.com
> Sent: Wednesday, March 21, 2012 11:47 AM
> Subject: [DynoMotion] streaming c programs
>
>
>
>
>
> Hello Tom,
>
> What would be involved with adding some methods to compile c programs in memory and upload them to the kflop.
>
> I am working on a small framework to create function blocks that generate c code and would like to bypass the file IO latency.
>
> Thoughts?
>
> -Brad Murry
>